package cn.le.lambda.example1;


import java.time.LocalDate;
import java.util.List;

/**
 * Created by admin on 2017/9/7.
 */
public class Person {

    //性别枚举
    public enum Sex{
        MALE,FEMALE
    }
    private String name;//性别
    private LocalDate birthday; //生日
    private Sex gender; //性别
    private String emailAddress;//邮件地址
    private int age; //年龄

    public String getName() {
        return name;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public Sex getGender() {
        return gender;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public int getAge() {
        return age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public void setGender(Sex gender) {
        this.gender = gender;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }
    public void setAge(int age) {
        this.age = age;
    }

    public void printPerson()
    {


    }
}
